<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> product-single clearfix"<?php print $attributes; ?>>
        <?php print render($title_prefix); ?>
        <?php if (!$page): ?>
            <h2<?php print $title_attributes; ?>>
                <a href="<?php print $node_url; ?>"><?php print $title; ?></a>
            </h2>
        <?php endif; ?>
        <?php print render($title_suffix); ?>
        <div class="node-content"<?php print $content_attributes; ?>>
            <div class="col-md-6 col-lg-6 col-sm-12">
                <div class="product-images">
                    <?php if($content['product:field_product_image']):?>
                        <?php print render($content['product:field_product_image']);?>
                    <?php endif;?>
                </div>
            </div>

            <div class="col-md-6 col-lg-6 col-sm-12">
                <div class="summary entry-summary">
                    <h1 itemprop="name" class="product_title entry-title"> <?php print $node->title;?> </h1>

                    <div class="price_rating">
                        <?php if(isset($content['product:commerce_price'])):?>
                            <div class="price_square">
                                <div class="price">
                                    <span class="amount"><?php print render($content['product:commerce_price']);?></span>
                                </div>
                            </div>
                        <?php endif;?>
                        <?php if(isset($content['field_product_review'])):?>
                            <div class="rating">
                                <?php print render($content['field_product_review']);?>
                            </div>
                        <?php endif;?>
                    </div>


                    <?php if(isset($content['field_product_description'])):?>
                        <div class="desc_shop"><?php print render($content['field_product_description']);?></div>
                    <?php endif;?>

                    <?php if(isset($content['field_product'])):?>
                        <div class="product-variations">
                            <?php print render($content['field_product']);?>
                        </div>
                    <?php endif;?>

                    <?php if(isset($content['field_product_categories'])):?>
                        <div class="product_meta">
                            <span class="posted_in"><?php print t('Categories');?>: <?php print render($content['field_product_categories']);?></span>

                        </div>
                    <?php endif;?>
                </div>
            </div>
            <div class=" tabbable style_1 tabs-top">
                <ul class="nav nav-tabs">
                    <li class="description_tab active ">
                        <a href="#tabdescription" data-toggle="tab" class="yes"><?php print t('Summary');?></a>
                    </li>


                    <li class="reviews_tab  ">
                        <a href="#tabreviews" data-toggle="tab" class="yes"><?php print t('Comments');?></a>
                    </li>
                </ul>
                <div class="tab-content">

                    <div class="tab-pane panel entry-content active" id="tabdescription">
                        <?php if(isset($content['field_product_summary'])):?>
                            <?php print render($content['field_product_summary']);?>
                        <?php endif;?>
                    </div>


                    <div class="tab-pane panel entry-content " id="tabreviews">
                        <div id="reviews">
                            <?php print render($content['comments']); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div><!-- clear -->



        <?php
        // We hide the comments and links now so that we can render them later.
        hide($content['comments']);
        hide($content['links']);
        hide($content['field_product']);
        hide($content['field_product_description']);
        hide($content['field_product_summary']);
        hide($content['field_product_categories']);
        hide($content['field_product_review']);
        hide($content['product:field_product_images']);
        hide($content['product:commerce_price']);
        hide($content['product:title']);

        ?>
        <div class="clearfix">
            <?php print render($content);?>
            <?php
            // Remove the "Add new comment" link on the teaser page or if the comment
            // form is being displayed on the same page.
            if ($teaser || !empty($content['comments']['comment_form'])) {
                unset($content['links']['comment']['#links']['comment-add']);
            }
            // Only display the wrapper div if there are links.
            $links = render($content['links']);
            if ($links):
                ?>
                <div class="link-wrapper">
                    <?php print $links; ?>
                </div>
            <?php endif; ?>

            <?php if ($display_submitted): ?>
                <div class="meta submitted">
                    <?php print $user_picture; ?>
                    <?php print $submitted; ?>
                </div>
            <?php endif; ?>
        </div>
    </div>


